Controlling Accessibility in Agile Projects with the Access Modifier Modifier

نویسندگان

  • Philipp Bouillon
  • Eric Großkinsky
  • Friedrich Steimann
چکیده

Access modifiers like public and private let the programmer control the accessibility of class members. Restricted accessibility supports encapsulation, i.e., the hiding of implementation details behind the interface of a class. However, what is an implementation detail and what makes the interface of a class is often subject to change: especially in an agile setting (with absence of an upfront design dictating accessibility levels), the interface of a class evolves much like its implementation, settling only towards the finalization of a project. However, while insufficient accessibility is reported by the compiler, excessive accessibility is not, the effect being that massively refactored programs usually end up with larger interfaces than necessary. With our ACCESS MODIFIER MODIFIER tool, we allow programmers to increase and keep accessibility at higher levels during the development phase, and reduce it only once the required access has stabilized. Fixed design decisions (such as a published API) can be designated by corresponding annotations, making them immune to changes through our tool. Evaluating the ACCESS MODIFIER MODIFIER on a number of internal packages taken from the JAVA open source community, we found that accessibility was excessive in 32% of cases on average.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

EFFECTS OF TEMPERATURE AND PERCENTAGE OF ORGANIC MODIFIER ON RETENTION AND SELECTIVITY IN RP-HPLC USING SOLVATION PARAMETER MODEL

Effects of temperature and percentage of organic modifier were studied on retention and selectivity in RP-HPLC using solvation parameter model. The system constants were determined by multiple linear regression analysis from experimental values in the retention factor for a group of different solutes with known descriptors by computer using the program SPSS/PC. The experimental results showed t...

متن کامل

Bytecode Analysis for Checking Java Access Modifiers

The access modifiers for Java are a mechanism for information hiding and therefore especially important for large projects. An access modifier that is too restrictive is reported as a compilation error. An access modifier that could be more restrictive is however not reported at all. On the long run, changes to a project lead to less restrictive modifiers, if the programmer does not actively wo...

متن کامل

اندازه‌گیری ابعاد مختلف رنگ پس از استفاده از Shade Modifier به همراه سیمان‌های رزینی در زیر Porcelain Laminate برای پوشاندن تغییر رنگهای دندانی (بررسی لابراتواری)

Background and Aim: With the introduction of porcelain veneers to fulfill patients’ esthetic needs, question raises about the ability of the veneers to cover the substructure discoloration. It seems that using shade modifiers under the porcelain veneers can neutralize the discoloration. The goal of this study was to determine the efficacy of shade modifiers in correcting tooth discoloration, wh...

متن کامل

Investigating the Effect of Modifier Chain Length on Insulation Properties of Polysulfide Modified Epoxy Resin

Polysulfide resins,with trade name of  G4 and G112, with short and long chain lengths respectively, were used as reactive modifiers to toughen epoxy resin. The effects of molecular weights of G4 and G112 on impact resistance, dielectric constant, thermal conductivity as well as decomposition  heat and adhesion properties of toughened epoxy were investigated. The impact strength and the diel...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008